package me.haoliang.repository.impl

import java.util
import javax.annotation.Resource

import me.haoliang.entity.TraUser
import me.haoliang.mapper.TraUserMapper
import me.haoliang.repository.UserRepository
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.stereotype.Repository

/**
  * author: planck 
  * createTime: 2016/11/11.
  */
@Repository
class UserRepositoryImpl @Autowired()(val mapper: TraUserMapper) extends UserRepository {
  override def selectAll(): util.List[TraUser] = {
    return mapper.selectAll()
  }
}
